
<?php  
include_once '/../shared_feature/DBGlobal.php';

function mysql_open_here()
{
	global $dbaddress;
    global $dbuser;
    global $dbpassword;
    global $dbdatabasename;
	
	$mysql_servername=$dbaddress;
	$mysql_username=$dbuser;
	$mysql_password=$dbpassword;
	$mysql_dbname=$dbdatabasename;
	
	$conn=mysql_connect($mysql_servername,$mysql_username,$mysql_password);
	if(!$conn)
	{
		die('Could not connect: ' . mysql_error());
		return 0;
	}
	return $conn;
}
?>